<?php

class MM_Model_EventFiles extends Mediad2_Model_Abstract
{
	/*
	 * const
	 */
	const POSITION_LOCAL	= 'local';	//本地
	
	const SOURCETYPE_WEB 	= 1;	//WEB
	const SOURCETYPE_PHONE 	= 2;	//PHONE
	
	const STATUS_NORMAL		= 1;	//正常
	const STATUS_RECYCLEBIN	= 2;	//回收站
	const STATUS_DELETED	= 3;	//已删除
	
	/*
	 * var
	 */
	protected $fid;
	protected $eid;
	protected $esid;
	protected $uid;
	protected $filename;
	protected $filetype;
	protected $fileimg;
	protected $filesize;
	protected $filepath;
	protected $filedesc;
	protected $sourcetype;
	protected $addtime;
	protected $lastime;
	protected $status;
	protected $imgdate;
	protected $imginfo;
	protected $position;
	protected $sharevalue;
	protected $favcount;
	protected $commentcount;
	
	/**
     * @return the $fid
     */
    public function getFid ()
    {
        return $this->fid;
    }

	/**
     * @return the $eid
     */
    public function getEid ()
    {
        return $this->eid;
    }

	/**
     * @return the $esid
     */
    public function getEsid ()
    {
        return $this->esid;
    }

	/**
     * @return the $uid
     */
    public function getUid ()
    {
        return $this->uid;
    }

	/**
     * @return the $filename
     */
    public function getFilename ()
    {
        return $this->filename;
    }

	/**
     * @return the $filetype
     */
    public function getFiletype ()
    {
        return $this->filetype;
    }

	/**
     * @return the $fileimg
     */
    public function getFileimg ()
    {
        return $this->fileimg;
    }

	/**
     * @return the $filesize
     */
    public function getFilesize ()
    {
        return $this->filesize;
    }

	/**
     * @return the $filepath
     */
    public function getFilepath ()
    {
        return $this->filepath;
    }

	/**
     * @return the $filedesc
     */
    public function getFiledesc ()
    {
        return $this->filedesc;
    }

	/**
     * @return the $sourcetype
     */
    public function getSourcetype ()
    {
        return $this->sourcetype;
    }

	/**
     * @return the $addtime
     */
    public function getAddtime ()
    {
        return $this->addtime;
    }

	/**
     * @return the $lastime
     */
    public function getLastime ()
    {
        return $this->lastime;
    }

	/**
     * @return the $status
     */
    public function getStatus ()
    {
        return $this->status;
    }

	/**
     * @return the $imgdate
     */
    public function getImgdate ()
    {
        return $this->imgdate;
    }

	/**
     * @return the $imginfo
     */
    public function getImginfo ()
    {
        return $this->imginfo;
    }

	/**
     * @return the $position
     */
    public function getPosition ()
    {
        return $this->position;
    }

	/**
     * @return the $sharevalue
     */
    public function getSharevalue ()
    {
        return $this->sharevalue;
    }

	/**
     * @return the $favcount
     */
    public function getFavcount ()
    {
        return $this->favcount;
    }

	/**
     * @return the $commentcount
     */
    public function getCommentcount ()
    {
        return $this->commentcount;
    }

	/**
     * @param field_type $fid
     */
    public function setFid ($fid)
    {
        $this->fid = $fid;
    }

	/**
     * @param field_type $eid
     */
    public function setEid ($eid)
    {
        $this->eid = $eid;
    }

	/**
     * @param field_type $esid
     */
    public function setEsid ($esid)
    {
        $this->esid = $esid;
    }

	/**
     * @param field_type $uid
     */
    public function setUid ($uid)
    {
        $this->uid = $uid;
    }

	/**
     * @param field_type $filename
     */
    public function setFilename ($filename)
    {
        $this->filename = $filename;
    }

	/**
     * @param field_type $filetype
     */
    public function setFiletype ($filetype)
    {
        $this->filetype = $filetype;
    }

	/**
     * @param field_type $fileimg
     */
    public function setFileimg ($fileimg)
    {
        $this->fileimg = $fileimg;
    }

	/**
     * @param field_type $filesize
     */
    public function setFilesize ($filesize)
    {
        $this->filesize = $filesize;
    }

	/**
     * @param field_type $filepath
     */
    public function setFilepath ($filepath)
    {
        $this->filepath = $filepath;
    }

	/**
     * @param field_type $filedesc
     */
    public function setFiledesc ($filedesc)
    {
        $this->filedesc = $filedesc;
    }

	/**
     * @param field_type $sourcetype
     */
    public function setSourcetype ($sourcetype)
    {
        $this->sourcetype = $sourcetype;
    }

	/**
     * @param field_type $addtime
     */
    public function setAddtime ($addtime)
    {
        $this->addtime = $addtime;
    }

	/**
     * @param field_type $lastime
     */
    public function setLastime ($lastime)
    {
        $this->lastime = $lastime;
    }

	/**
     * @param field_type $status
     */
    public function setStatus ($status)
    {
        $this->status = $status;
    }

	/**
     * @param field_type $imgdate
     */
    public function setImgdate ($imgdate)
    {
        $this->imgdate = $imgdate;
    }

	/**
     * @param field_type $imginfo
     */
    public function setImginfo ($imginfo)
    {
        $this->imginfo = $imginfo;
    }

	/**
     * @param field_type $position
     */
    public function setPosition ($position)
    {
        $this->position = $position;
    }

	/**
     * @param field_type $sharevalue
     */
    public function setSharevalue ($sharevalue)
    {
        $this->sharevalue = $sharevalue;
    }

	/**
     * @param field_type $favcount
     */
    public function setFavcount ($favcount)
    {
        $this->favcount = $favcount;
    }

	/**
     * @param field_type $commentcount
     */
    public function setCommentcount ($commentcount)
    {
        $this->commentcount = $commentcount;
    }

	
	
}